﻿using System;
using System.IO;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using DreamCube.Foundation.Basic.Utility;

public partial class TestPost_ServerPage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        String postData = MyWeb.GetPostString();
        //MyLog.MakeLog(postData, MyLog.LogType.Debug);
        //MyLog.MakeLog(Request.Form["lijian"], MyLog.LogType.Debug);

        String filePath = Path.Combine(MyPage.CurFolderPhysicalPath, "Images\\2.jpg");
        MyWeb.SavePostFileAs(filePath, 0);
    }
}